(function() {
  var PersonModel, PersonView, p, view;

  _.templateSettings.interpolate = /\{\{(.+?)\}\}/g;

  PersonModel = Backbone.Model.extend({});

  PersonView = Backbone.View.extend({
    template: _.template($('#person-template').html()),
    render: function() {
      this.$el.html(this.template(this.model.attributes));
      return this;
    }
  });

  p = new PersonModel();

  p.set('Name', 'Buba');

  view = new PersonView({
    model: p
  });

  $('body').append(view.render().el);

}).call(this);
